package com.keensense.vcm.model.enums;

import javax.xml.bind.annotation.XmlEnumValue;

/**
 * @author lanjian
 * @date 2020/8/1
 */
public enum AuthModeEnum {

    @XmlEnumValue(value = "0") NONE(0, "无认证"), @XmlEnumValue(value = "1") ONEWAY(1, "单向认证"), @XmlEnumValue(value = "2") MUTUAL(2, "双向认证");

    private int value;

    private String desc;

    AuthModeEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
